<?php
$this->breadcrumbs = array(
	'Quản lý Người dùng' => array('/Users/default/index'),
	'Xem người dùng: ' . $model->username
);
?>
<!-- BEGIN PORTLET-->
<div class="row">
	<div class="col-md-12 news-page blog-page">
<?php $form=$this->beginWidget('CActiveForm', array(
    'id'=>'members-form',
    'enableClientValidation'=>false,
    'clientOptions'=>array(
        'validateOnSubmit'=>true,
    ),
    'htmlOptions'=>array(
        'class'=>'horizontal-form form-horizontal',
    ),
)); ?>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'username', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->username; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'email', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->email; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'fname', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->fname . ' ' . $model->lname; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'phone', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->phone; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'dateofbirth', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->dateofbirth; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'address', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->address; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'phone', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->phone; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'gender', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->getGender(); ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'status', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->getStatus(); ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'lastlogin', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->lastlogin; ?></p>
            </div>
        </div>
        <div class="form-group">
            <?php echo $form->labelEx($model, 'createddate', array('class'=>'control-label col-sm-2')); ?>
            <div class="col-sm-10">
                <p class="form-control-static"><?php echo $model->createddate; ?></p>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-10 col-sm-offset-2">
                <?php echo CHtml::link('Chỉnh sửa', array('/Users/default/update', 'id'=>$model->id), array('class'=>'btn btn-success')); ?>
            </div>
        </div>
<?php $this->endWidget(); ?>
    </div>
</div>